﻿@model Jingxing.Models.Admin.LoginModel
@{
    ViewBag.Title = "警兴 - 后台登陆";
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link href="../../Content/themes/default/jquery.mobile-1.1.0-rc.1.min.css" rel="stylesheet"
        type="text/css" />
    <link rel="stylesheet" href="../../Content/themes/admin/site.css" />
    <script type="text/javascript" src="../../Scripts/jquery-1.7.1.min.js"></script>
    <script src="../../Scripts/jquery.mobile-1.1.0-rc.1.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../Scripts/site.js"></script>
</head>
<body>
    <div data-role="page" id="home">
        <div data-role="header">
            <h1>@ViewBag.Title</h1>
        </div>
        <div data-role="content" id="content">
            @using (Html.BeginForm(new Dict { "act:submit"}))
            {
                <div data-role="fieldcontain">
                    @Html.LabelFor(m => m.UserName)
                    @Html.TextBoxFor(m => m.UserName)
                    @Html.ValidationMessageFor(m => m.UserName, new { style = "color:Red" })
                </div>
                <div data-role="fieldcontain" data-mini="true">
                    @Html.LabelFor(m => m.Password)
                    @Html.PasswordFor(m => m.Password)
                    @Html.ValidationMessageFor(m => m.Password, new { style = "color:Red" })
                </div>
                <div data-role="fieldcontain">
                    @Html.ValidationMessage("", new { style = "color:Red" })
                </div>
                <div data-role="fieldcontain">
                    <input type="submit" value="登录" class="input-submit" data-inline="true" />
                </div>
            }
        </div>
    </div>
</body>
</html>
